[INFO] cloning repository https://github.com/danawanb/rusty
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danawanb/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06c13da128dc3ab7fb0e6575f731e150dfdd2b5c
[INFO] testing danawanb/rusty against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/danawanb/rusty
[INFO] finished tweaking git repo https://github.com/danawanb/rusty
[INFO] tweaked toml for git repo https://github.com/danawanb/rusty written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/danawanb/rusty on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/danawanb/rusty already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2170868353e14a546e5e281ad1268cf2c1be97b66994ae50acb9f4d041dfd683
[INFO] running `Command { std: "docker" "start" "-a" "2170868353e14a546e5e281ad1268cf2c1be97b66994ae50acb9f4d041dfd683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2170868353e14a546e5e281ad1268cf2c1be97b66994ae50acb9f4d041dfd683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2170868353e14a546e5e281ad1268cf2c1be97b66994ae50acb9f4d041dfd683", kill_on_drop: false }`
[INFO] [stdout] 2170868353e14a546e5e281ad1268cf2c1be97b66994ae50acb9f4d041dfd683
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee27587a6f274c9fb8b572566c294c3e9cdd578982054ef742440d22f5143b5c
[INFO] running `Command { std: "docker" "start" "-a" "ee27587a6f274c9fb8b572566c294c3e9cdd578982054ef742440d22f5143b5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling frunk_core v0.4.2
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling libz-sys v1.1.16
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling subprocess v0.2.9
[INFO] [stderr]    Compiling bigdecimal v0.4.3
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]    Compiling fastrand v2.0.2
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]    Compiling frunk_proc_macro_helpers v0.1.2
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling time v0.3.34
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling derive_utils v0.14.1
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling btoi v0.4.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling mysql v25.0.0
[INFO] [stderr]    Compiling saturating v0.1.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling frunk_proc_macros v0.1.2
[INFO] [stderr]    Compiling frunk_derives v0.4.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling io-enum v1.1.3
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling frunk v0.4.2
[INFO] [stderr]    Compiling pem v3.0.3
[INFO] [stderr]    Compiling lru v0.12.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling http-range-header v0.4.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling mysql-common-derive v0.31.0
[INFO] [stderr]    Compiling validator_derive v0.18.1
[INFO] [stderr]    Compiling zstd v0.13.1
[INFO] [stderr]    Compiling hyper v1.2.0
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling validator v0.18.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling mysql_common v0.32.1
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling rusty v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{path::ErrorKind, Path, State},
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     response::{Html, IntoResponse, Response},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 5 |     routing::{get, post, MethodRouter},
[INFO] [stdout] 6 |     Extension, Form, Json, Router,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/user/handlers.rs:26:104
[INFO] [stdout]    |
[INFO] [stdout] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router};
[INFO] [stdout]    |                                                                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/user/handlers.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AuthError` is never used
[INFO] [stdout]    --> src/main.rs:204:6
[INFO] [stdout]     |
[INFO] [stdout] 204 | enum AuthError {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Default` is never constructed
[INFO] [stdout]    --> src/main.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 211 | enum FetchErr {
[INFO] [stdout]     |      -------- variant in this enum
[INFO] [stdout] 212 |     Default,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `route` is never used
[INFO] [stdout]    --> src/main.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `Unauthorised` are never constructed
[INFO] [stdout]   --> src/user/handlers.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 53 |     BadRequest(String),
[INFO] [stdout] 54 |     Forbidden,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 55 |     Unauthorised,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "ee27587a6f274c9fb8b572566c294c3e9cdd578982054ef742440d22f5143b5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee27587a6f274c9fb8b572566c294c3e9cdd578982054ef742440d22f5143b5c", kill_on_drop: false }`
[INFO] [stdout] ee27587a6f274c9fb8b572566c294c3e9cdd578982054ef742440d22f5143b5c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a818cb2681fc22059ff046c9b3a53233aeb788f22b6d59c7354b059637c5020
[INFO] running `Command { std: "docker" "start" "-a" "7a818cb2681fc22059ff046c9b3a53233aeb788f22b6d59c7354b059637c5020", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusty v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{path::ErrorKind, Path, State},
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     response::{Html, IntoResponse, Response},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 5 |     routing::{get, post, MethodRouter},
[INFO] [stdout] 6 |     Extension, Form, Json, Router,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/user/handlers.rs:26:104
[INFO] [stdout]    |
[INFO] [stdout] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router};
[INFO] [stdout]    |                                                                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/user/handlers.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AuthError` is never used
[INFO] [stdout]    --> src/main.rs:204:6
[INFO] [stdout]     |
[INFO] [stdout] 204 | enum AuthError {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Default` is never constructed
[INFO] [stdout]    --> src/main.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 211 | enum FetchErr {
[INFO] [stdout]     |      -------- variant in this enum
[INFO] [stdout] 212 |     Default,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `route` is never used
[INFO] [stdout]    --> src/main.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `Unauthorised` are never constructed
[INFO] [stdout]   --> src/user/handlers.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 53 |     BadRequest(String),
[INFO] [stdout] 54 |     Forbidden,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 55 |     Unauthorised,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "7a818cb2681fc22059ff046c9b3a53233aeb788f22b6d59c7354b059637c5020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a818cb2681fc22059ff046c9b3a53233aeb788f22b6d59c7354b059637c5020", kill_on_drop: false }`
[INFO] [stdout] 7a818cb2681fc22059ff046c9b3a53233aeb788f22b6d59c7354b059637c5020
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4783ce1486ab0f2225b1541540b1c968e907f5b6bfd9866129c269a4c59b51a9
[INFO] running `Command { std: "docker" "start" "-a" "4783ce1486ab0f2225b1541540b1c968e907f5b6bfd9866129c269a4c59b51a9", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind`
[INFO] [stderr]  --> src/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 |     extract::{path::ErrorKind, Path, State},
[INFO] [stderr]   |               ^^^^^^^^^^^^^^^
[INFO] [stderr] 3 |     http::StatusCode,
[INFO] [stderr] 4 |     response::{Html, IntoResponse, Response},
[INFO] [stderr]   |                ^^^^
[INFO] [stderr] 5 |     routing::{get, post, MethodRouter},
[INFO] [stderr] 6 |     Extension, Form, Json, Router,
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]   --> src/user/handlers.rs:26:104
[INFO] [stderr]    |
[INFO] [stderr] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router};
[INFO] [stderr]    |                                                                                                        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]   --> src/user/handlers.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use serde_json::json;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `AuthError` is never used
[INFO] [stderr]    --> src/main.rs:204:6
[INFO] [stderr]     |
[INFO] [stderr] 204 | enum AuthError {
[INFO] [stderr]     |      ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Default` is never constructed
[INFO] [stderr]    --> src/main.rs:212:5
[INFO] [stderr]     |
[INFO] [stderr] 211 | enum FetchErr {
[INFO] [stderr]     |      -------- variant in this enum
[INFO] [stderr] 212 |     Default,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `route` is never used
[INFO] [stderr]    --> src/main.rs:256:4
[INFO] [stderr]     |
[INFO] [stderr] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router {
[INFO] [stderr]     |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Forbidden` and `Unauthorised` are never constructed
[INFO] [stderr]   --> src/user/handlers.rs:54:5
[INFO] [stderr]    |
[INFO] [stderr] 52 | enum ApiError {
[INFO] [stderr]    |      -------- variants in this enum
[INFO] [stderr] 53 |     BadRequest(String),
[INFO] [stderr] 54 |     Forbidden,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 55 |     Unauthorised,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rusty` (bin "rusty" test) generated 7 warnings (run `cargo fix --bin "rusty" -p rusty --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty-933ab9e517aea030)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4783ce1486ab0f2225b1541540b1c968e907f5b6bfd9866129c269a4c59b51a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4783ce1486ab0f2225b1541540b1c968e907f5b6bfd9866129c269a4c59b51a9", kill_on_drop: false }`
[INFO] [stdout] 4783ce1486ab0f2225b1541540b1c968e907f5b6bfd9866129c269a4c59b51a9
